<?php
@require_once("config.php");
$con=$_GET["con"];
$orderType=$_GET["orderType"];
$order=$_GET["order"];
$sql="select count(*) from goodlist where goods_menu like '%$con%' order by $orderType $order";
$result=mysql_query($sql);
$count=mysql_fetch_row($result);
echo $count[0];
?>